package io.charStream;
import java.io.File;
import java.io.IOException;
import java.util.Scanner;
public class ReadData {
	public static void main(String[] args) throws IOException {
		File f=new File("scores3.txt");
		if(f.exists()==false) {
			System.out.println("File is not exists.");
			System.exit(1);
		}
		Scanner r=new Scanner(f);
		while(r.hasNext()) {
			String firstName=r.next();
			String mi=r.next();
			String lastName=r.next();
			int score=r.nextInt();
			System.out.println(firstName+" "+mi+" "+lastName+" "+score);
		}
		r.close();
	}
}
//String s= r.nextLine();
//String slist[]=s.split("\\s+");
//String firstName=slist[0];
//String mi=slist[1];
//String lastName=slist[2];
//int score=Integer.parseInt(slist[3]);
//System.out.println(firstName+" "+mi+" "+lastName+" "+score);
